package com.molichuxing.services.infrastructure.service;

import com.molichuxing.framework.service.RootService;
import com.molichuxing.services.infrastructure.dto.request.modify.WarnConfigModifyDto;
import com.molichuxing.services.infrastructure.dto.response.WarnConfigDto;

import java.util.List;

/**
 * <p>
 * 表 服务类
 * </p>
 *
 * @author zhaopenghui
 * @since 2020-07-20
 */
public interface WarnConfigService extends RootService {


    /**
     * 修改配置信息
     *
     * @param list
     * @return
     * @throws Exception
     */
    Boolean modifyWarnConfig(List<WarnConfigModifyDto> list) throws Exception;


    /**
     * 获取配置列表
     *
     * @return
     */
    List<WarnConfigDto> getList();

    /**
     * 修改配置信息
     *
     * @param warnConfigModifyDto
     * @return
     * @throws Exception
     */
    Boolean modifyWarnConfig(WarnConfigModifyDto warnConfigModifyDto) throws Exception;

}
